<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"  xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
  <head>
    <link rel="stylesheet" th:href="@{/css/frameworks.css}"/>
    <link rel="stylesheet" th:href="@{/css/github.css}"/>
    <title>授权应用</title>
  </head>
  <body class="logged-in env-production page-responsive min-width-0 oauth bg-gray-light intent-mouse">
  <div class="position-relative js-header-wrapper ">
    <a href="https://github.com/login/oauth/authorize?client_id=a5ce5a6c7e8c39567ca0&amp;scope=user:email&amp;redirect_uri=https://coding.net/api/oauth/github/callback&amp;response_type=code#start-of-content" tabindex="1" class="p-3 bg-blue text-white show-on-focus js-skip-to-content">Skip to content</a>
    <div id="js-pjax-loader-bar" class="pjax-loader-bar"><div class="progress"></div></div>
        <span class="d-none">This is a filler to hide the site header</span>
  </div>
  <div id="start-of-content" class="show-on-focus"></div>
    <div id="js-flash-container">
</div>
  <div role="main" class="application-main ">
      <div id="js-pjax-container" data-pjax-container="">
<style>#serverstats {display: none;}</style>
<div class="mx-auto" style="max-width: 530px;">
  <div class="px-3 pt-4">
    <div class="DashedConnection mb-0 mx-auto d-none d-md-block" style="width: 300px;">
      <div class="d-flex flex-justify-between flex-items-center py-4">
        <div class="CircleBadge CircleBadge--medium" style="background-color:#ffffff">
          <img class="CircleBadge-icon" src="./Authorize application_files/139621" height="50" width="50" alt=""/>
        </div>
        <div class="position-relative bg-green text-center" style="border-radius: 50%; width:32px; height:32px;">
          <svg class="octicon octicon-check text-white mt-2" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5L12 5z"></path></svg>
        </div>
        <div class="CircleBadge CircleBadge--medium box-shadow-none" style="background-color: #fff; overflow: hidden;">
          <svg class="octicon octicon-mark-github width-full height-full" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>
        </div>
      </div>
    </div>
    <div class="DashedConnection mb-0 mx-auto d-block d-md-none" style="width: 200px;">
      <div class="d-flex flex-justify-between flex-items-center py-4">

        <div class="CircleBadge CircleBadge--small">
          <img class="CircleBadge-icon" src="./Authorize application_files/139621(1)" height="31" width="31" alt=""/>
        </div>
        <div class="position-relative bg-green text-center" style="border-radius: 50%; width:32px; height:32px;">
          <svg class="octicon octicon-check text-white mt-2" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M12 5l-8 8-4-4 1.5-1.5L4 10l6.5-6.5L12 5z"></path></svg>
        </div>
        <div class="CircleBadge CircleBadge--small box-shadow-none" style="background-color: #fff; overflow: hidden;">
          <svg class="octicon octicon-mark-github width-full height-full" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>
        </div>
      </div>
    </div>
      <h2 class="f2 text-normal text-center lh-condensed mb-4">授权 <span th:text="${session.authorizationRequest.clientId}">Demo client</span></h2>
  </div>
  <div class="px-3 mt-5">
    <div class="Box box-shadow">
      <div class="Box-body p-3 p-md-4">
        <div class="mb-2 position-relative lh-default" style="padding-left:45px;">
          <img class="avatar position-absolute mr-3 mt-1 top-0 left-0" src="./Authorize application_files/30922476" width="32" height="32" alt="@t308"/>
          <strong th:text="${session.authorizationRequest.clientId}">Demo Client</strong> by
            <strong><a href="https://github.com/coding-net">coding-net</a></strong>
            <small class="d-block text-gray">想要访问您的 <strong sec:authentication="principal.username">demo username</strong> 账号</small>
        </div>
        <div class="">
            <div class="px-0 border-bottom-0 oauth-user-permissions oauth-permissions-details js-details-container Details limited limited-email js-transitionable">
  <button type="button" class="btn-link pr-0 oauth-details-toggle js-details-target" aria-label="More information about this request" aria-expanded="false" data-initial-state="false">
    <svg height="24" class="octicon octicon-chevron-down" viewBox="0 0 10 16" version="1.1" width="15" aria-hidden="true"><path fill-rule="evenodd" d="M5 11L0 6l1.5-1.5L5 8.25 8.5 4.5 10 6l-5 5z"></path></svg>
    <svg height="24" class="octicon octicon-chevron-up" viewBox="0 0 10 16" version="1.1" width="15" aria-hidden="true"><path fill-rule="evenodd" d="M10 10l-1.5 1.5L5 7.75 1.5 11.5 0 10l5-5 5 5z"></path></svg>
  </button>
  <svg height="32" class="octicon octicon-person text-gray-light" viewBox="0 0 12 16" version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M12 14.002a.998.998 0 0 1-.998.998H1.001A1 1 0 0 1 0 13.999V13c0-2.633 4-4 4-4s.229-.409 0-1c-.841-.62-.944-1.59-1-4 .173-2.413 1.867-3 3-3s2.827.586 3 3c-.056 2.41-.159 3.38-1 4-.229.59 0 1 0 1s4 1.367 4 4v1.002z"></path></svg>
  <div class="permission-summary lh-condensed">
    <strong class="permission-title">个人用户数据</strong>
    <small class="access-details">
      <span class="full-access">将获取您的所有个人数据</span>
      <!--<span class="limited-access">Follow users, profile information (read-only), email addresses (read-only)</span>-->
      <!--<span class="limited-access-emails-followers">Follow users, email addresses (read-only)</span>-->
      <!--<span class="limited-access-emails-profile">Email addresses (read-only), profile information (read-only)</span>-->
      <!--<span class="limited-access-followers-profile">Follow users, profile information (read-only)</span>-->
      <!--<span class="limited-access-profile">Profile information (read-only)</span>-->
      <!--<span class="limited-access-followers">Follow users</span>-->
      <span class="limited-access-emails">Email addresses (read-only)</span>
      <!--<span class="no-access">No access</span>-->
    </small>
  </div>
  <div class="content">
    <div class="permission-help pt-2">
        <p>该应用将读取您的个人信息</p>
    </div>
  </div> <!-- content -->
</div> <!-- details-container -->
        </div>
      </div>
      <div class="Box-footer p-3 p-md-4 clearfix">
        <div class="col-sm-12">
          <form th:action="@{/oauth/authorize}" id='confirmationForm' name='confirmationForm' accept-charset="UTF-8" method="post">
            <!--<input name="utf8" type="hidden" value="✓"/>-->
            <!--<input type="hidden" name="client_id" id="client_id" value="a5ce5a6c7e8c39567ca0" class="form-control"/>-->
            <!--<input type="hidden" name="redirect_uri" id="redirect_uri" value="https://coding.net/api/oauth/github/callback" class="form-control"/>-->
            <!--<input type="hidden" name="scope" id="scope" value="user:email" class="form-control"/>-->

            <input name='user_oauth_approval' value='true' type='hidden' />
            <input th:name="${s}" value="true" type="hidden" th:each="s : ${scopeList}" />
            <button data-octo-click="oauth_application_authorization" data-octo-dimensions="marketplace_listing_id:,came_from_marketplace:false,paid_marketplace_plan_purchased:false" data-ga-click="Oauth, oauth application authorized, oauth_application_id:139621; listing_id:; came_from_integrations_directory:false; came_from_marketplace:false; paid_marketplace_plan_purchased:false; marketplace_listing_id:" type="submit" name="authorize" value="1" tabindex="1" id="js-oauth-authorize-btn" class="btn btn-primary d-block width-full ws-normal">授权 <span th:text="${session.authorizationRequest.clientId}">Demo client</span></button>
          </form>
        </div>
        <div class="col-sm-12 mt-2">
          <p class="text-small text-gray mb-0 text-center">授权将重定向到 <br/><strong class="text-gray-dark" th:text="${session.authorizationRequest.redirectUri}">https://demo.com</strong></p>
        </div>
      </div>
    </div>
    <div class="Box bg-gray-light px-4 py-3 mt-3 text-small text-gray clearfix">
      <div class="gutter-condensed lh-condensed">
        <div class="col-12 mb-3 mb-md-0 col-md-4 float-md-left">
            <div class="position-relative pl-4"><svg class="octicon octicon-circle-slash position-absolute left-0" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm0 1.3c1.3 0 2.5.44 3.47 1.17l-8 8A5.755 5.755 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zm0 11.41c-1.3 0-2.5-.44-3.47-1.17l8-8c.73.97 1.17 2.17 1.17 3.47 0 3.14-2.56 5.7-5.7 5.7z"></path></svg> <strong>Not</strong> owned or operated by GitHub</div>
        </div>
        <div class="col-12 mb-3 mb-md-0 col-md-4 float-md-left ">
          <div class="position-relative pl-4"><svg class="octicon octicon-clock position-absolute left-0" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 8h3v2H7c-.55 0-1-.45-1-1V4h2v4zM7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7z"></path></svg> Created <strong class="d-inline-block">4 years ago</strong></div>
        </div>
        <div class="col-12 col-md-4 float-md-left ">
          <div class="position-relative pl-4"><svg class="octicon octicon-organization position-absolute left-0" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M16 12.999c0 .439-.45 1-1 1H7.995c-.539 0-.994-.447-.995-.999H1c-.54 0-1-.561-1-1 0-2.634 3-4 3-4s.229-.409 0-1c-.841-.621-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.442.58 2.5 3c.058 2.41-.159 2.379-1 3-.229.59 0 1 0 1s1.549.711 2.42 2.088C9.196 9.369 10 8.999 10 8.999s.229-.409 0-1c-.841-.62-1.058-.59-1-3 .058-2.419 1.367-3 2.5-3s2.437.581 2.495 3c.059 2.41-.158 2.38-1 3-.229.59 0 1 0 1s3.005 1.366 3.005 4z"></path></svg> <strong>More than 1K</strong> <span class="d-inline-block">GitHub users</span></div>
        </div>
      </div>
    </div>
    <div class="text-center my-3">
      <a href="https://help.github.com/articles/authorizing-oauth-apps" target="_blank" class="muted-link text-small">knovia 验证中心</a>
    </div>
  </div>
</div>
      </div>
      <div class="modal-backdrop js-touch-events"></div>
  </div>
      <span class="d-none">This is a filler to hide the site footer</span>
  <div id="ajax-error-message" class="ajax-error-message flash flash-error">
    <svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"></path></svg>
    <button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
      <svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"></path></svg>
    </button>
    You can’t perform that action at this time.
  </div>
    <script type="application/javascript" src="/js/frameworks.js"></script>
  <div class="js-stale-session-flash stale-session-flash flash flash-warn flash-banner d-none">
    <svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"></path></svg>
    <span class="signed-in-tab-flash">You signed in with another tab or window. <a href="https://github.com/login/oauth/authorize?client_id=a5ce5a6c7e8c39567ca0&amp;scope=user:email&amp;redirect_uri=https://coding.net/api/oauth/github/callback&amp;response_type=code">Reload</a> to refresh your session.</span>
    <span class="signed-out-tab-flash">You signed out in another tab or window. <a href="https://github.com/login/oauth/authorize?client_id=a5ce5a6c7e8c39567ca0&amp;scope=user:email&amp;redirect_uri=https://coding.net/api/oauth/github/callback&amp;response_type=code">Reload</a> to refresh your session.</span>
  </div>
  <div class="facebox" id="facebox" style="display:none;">
  <div class="facebox-popup">
    <div class="facebox-content" role="dialog" aria-labelledby="facebox-header" aria-describedby="facebox-description">
    </div>
    <button type="button" class="facebox-close js-facebox-close" aria-label="Close modal">
      <svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"></path></svg>
    </button>
  </div>
</div>
  <div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;" tabindex="0">
  <div class="Popover-message Popover-message--bottom-left Popover-message--large Box box-shadow-large" style="width:360px;">
  </div>
</div>
<div id="hovercard-aria-description" class="sr-only">
  Press h to open a hovercard with more details.
</div>
<div style="position: static; width: 0px; height: 0px; border: none; padding: 0px; margin: 0px;"><div id="trans-tooltip"><div id="tip-left-top" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-left-top.png&quot;);"></div><div id="tip-top" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-top.png&quot;) repeat-x;"></div><div id="tip-right-top" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-right-top.png&quot;);"></div><div id="tip-right" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-right.png&quot;) repeat-y;"></div><div id="tip-right-bottom" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-right-bottom.png&quot;);"></div><div id="tip-bottom" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-bottom.png&quot;) repeat-x;"></div><div id="tip-left-bottom" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-left-bottom.png&quot;);"></div><div id="tip-left" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-left.png&quot;);"></div><div id="trans-content"></div></div><div id="tip-arrow-bottom" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-arrow-bottom.png&quot;);"></div><div id="tip-arrow-top" style="background: url(&quot;chrome-extension://ccfjcepmiaackkccabgeeegeklgifffd/imgs/map/tip-arrow-top.png&quot;);"></div></div></body></html>